package com.po;

public class Book {
    private Integer id;
    private String name;
    private String editor;
    private String publish;
    private double pecie;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEditor() {
        return editor;
    }

    public void setEditor(String editor) {
        this.editor = editor;
    }

    public String getPublish() {
        return publish;
    }

    public void setPublish(String publish) {
        this.publish = publish;
    }

    public double getPecie() {
        return pecie;
    }

    public void setPecie(double pecie) {
        this.pecie = pecie;
    }

    @Override
    public String toString() {
        return "Book{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", editor='" + editor + '\'' +
                ", publish='" + publish + '\'' +
                ", pecie=" + pecie +
                '}';
    }
}
